package com.jxtc.enterprise.merchant.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Schema(description = "商铺小程序导出某一天或某几天订单详情所需要传递的数据")
@Getter
@Setter
@ToString
public class ExportStoreOrderDTO {

    // @NotBlank(message = "店铺 ID 不能为空")
    @Schema(description = "店铺 ID", example = "04d159f9807ec68632e94edd2cfe1949")
    private String storeId;

    @NotBlank(message = "商户手机号不能为空")
    @Schema(description = "商户手机号", example = "15203214578")
    private String phone;

    @Schema(description = "开始时间", example = "2024-07-09")
    private String startDate;

    @Schema(description = "结束时间，endDate 与 startDate 相同时表示仅导出某一天的数据", example = "2024-07-19")
    private String endDate;
}
